Manage Parts & Assemblies

Description

This script:

a) Removes empty Parts and Assemblies. The script is not recursive. As such, you may need to execute it multiple times to remove all empty Assemblies.

b) Collapses Assemblies that only contain a single Part. The single Part is moved to the parent Assembly for the collapsed Assembly. Optionally, the single Part can be renamed to the name of the parent Assembly that will be collapsed.